package com.kaifamiao.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author lucien-ma
 * @date 2021/8/11
 * @apiNote
 */
@Data
public class Role implements Serializable {

    private int id;

    private String roleName;

    private String roleDesc;

    // 多对多的关系映射：一个角色可以赋予多个用户
    private List<User> userList;
}
